package cn.edu.scnu.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.easymall.common.vo.SysResult;

import cn.edu.scnu.service.orderService;

@RestController
public class orderController {

	@Autowired
	private orderService orderservice;
	
//	@RequestMapping("order/manage/list")
//	public SysResult adminlogin(@RequestParam("name") String name,@RequestParam("password") String pwd) {
//		System.out.println("user login"+name+pwd);
//		return SysResult.ok();
//	}

	@RequestMapping("order/manage/list")
	public SysResult orderlist() {
		System.out.println("show order");
		return SysResult.ok();
	}
}

